/*
  # AVAILABLE WEIGHTS/STYLES

    300 (for headlines only)
    400 (body text)
    400 italic
    600
    800

  ---

  # COLORS

    default:   3c3c3c
               (dark grey)

    alternate: 5fa4a0
               (teal)

    highlight: f04530
               (orange)
*/

body ::-webkit-scrollbar {
  height: 16px;
  overflow: visible;
  width: 16px;
}

body  ::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, .2);
  background-clip: padding-box;
  border: solid transparent;
  min-height: 28px;
  padding: 100px 0 0;
  box-shadow: inset 1px 1px 0 rgba(0,0,0,.1),inset 0 -1px 0 rgba(0,0,0,.07);
  border-width: 1px 1px 1px 6px;
}

body  ::-webkit-scrollbar-button {
  height: 0;
  width: 0;
}

body  ::-webkit-scrollbar-track {
  background-clip: padding-box;
  border: solid transparent;
  border-width: 0 0 0 4px;
  }

body  ::-webkit-scrollbar-corner {
  background: transparent;
}

/* NORMALIZE */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
body { margin: 0; font-size: 13px; line-height: 1.231; overflow: hidden; }
body, button, input, select, textarea { font-family: sans-serif; color: #222; }

::-moz-selection { background: #f04530; color: #fff; text-shadow: none; }
::selection { background: #f04530; color: #fff; text-shadow: none; }

a { color: #508B88; text-decoration: none;}
a:visited { color: #508B88; }
a:hover, a:focus { color: #f04530; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }

abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: "Source Code Pro", monospace; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }
img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
svg:not(:root) { overflow: hidden; }
figure { margin: 0; }

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; *overflow: visible; }
table button, table input { *overflow: auto; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }


button {
  display: inline-block;
  background: -webkit-gradient(linear, 0% 40%, 0% 70%, from(#F9F9F9), to(#E3E3E3));
  background: -webkit-linear-gradient(#F9F9F9 40%, #E3E3E3 70%);
  background: -moz-linear-gradient(#F9F9F9 40%, #E3E3E3 70%);
  background: -ms-linear-gradient(#F9F9F9 40%, #E3E3E3 70%);
  background: -o-linear-gradient(#F9F9F9 40%, #E3E3E3 70%);
  background: linear-gradient(#F9F9F9 40%, #E3E3E3 70%);
  border: 1px solid #999;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  padding: 5px 8px;
  outline: none;
  white-space: nowrap;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  cursor: pointer;
  text-shadow: 1px 1px #fff;
  font-weight: 700;
  font-size: 10pt;
}
button[disabled] {
  opacity: 0.65;
  cursor: default;
}
button:not([disabled]):hover,
button:not([disabled]):focus {
  border-color: black;
}
button:not([disabled]):active {
  background: -webkit-gradient(linear, 0% 40%, 0% 70%, from(#E3E3E3), to(#F9F9F9));
  background: -webkit-linear-gradient(#E3E3E3 40%, #F9F9F9 70%);
  background: -moz-linear-gradient(#E3E3E3 40%, #F9F9F9 70%);
  background: -ms-linear-gradient(#E3E3E3 40%, #F9F9F9 70%);
  background: -o-linear-gradient(#E3E3E3 40%, #F9F9F9 70%);
  background: linear-gradient(#E3E3E3 40%, #F9F9F9 70%);
}

/* BACKGROUND SCALE */

.pattern-bg {
  background-color: #eee !important;
}

.pattern-bg-lighter,
article.sectioned > section:not(#classes) {
  background-color: white !important;
  box-shadow: 1px 1px 10px #ccc;
}

body[data-href='home'],
body[data-href='gaming'],
body[data-href='business'] {
  background-color: #000 !important;
  background-repeat: no-repeat;
  background-size: cover;
}

body[data-href='home'] {
  background-image: url(/static/images/background-home.jpg);
}

body[data-href='gaming'] {
  background-image: url(/static/images/background-gaming.jpg);
}

body[data-href='business'] {
  background-image: url(/static/images/background-business.jpg);
}

body[data-href='home'] .pattern-bg-lighter,
body[data-href='gaming'] .pattern-bg-lighter,
body[data-href='business'] .pattern-bg-lighter,
body[data-href='home'] article.sectioned > section:not(#classes),
body[data-href='gaming'] article.sectioned > section:not(#classes),
body[data-href='business'] article.sectioned > section:not(#classes) {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  -ms-box-shadow: none;
  -o-box-shadow: none;
  box-shadow: none;
}

#updates_list li {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

/* SHARED  */

h1,
h2,
h3,
h4,
h5
{
  font-weight: normal;
  line-height: 1.125;
}

hgroup h1,
hgroup h2,
hgroup h3
{
  text-transform: uppercase;
}

h1 span,
h2 span
{
  color: #5fa4a0;
  font-weight: 800;
}

h1
{
  font-size: 35px;
  font-weight: 300;
  margin: 0 0 .25em;
}

h2
{
  font-size: 26px;
  margin: 1em 0 .5em;
}

h3
{
  font-size: 20px;
  font-weight: 300;
  margin: 1em 0 .5em;
}

h2:first-child,
h3:first-child,
.profile h2
{
  margin: 0 0 .5em;
}

p
{
  font-size: 14px;
  line-height: 1.5;
}

a
{
  -webkit-transition: color .2s;
  -ms-transition: color .2s;
  -moz-transition: color .2s;
  -o-transition: color .2s;
  transition: color .2s;
}

strong
{
  font-weight: 600;
}

header.main nav,
.subheader div,
.nav
{
  display: block;
  margin: 0 auto;
  width: 1000px;
}

.page
{
  display: block;
  position: relative;
  margin: 4.5em auto;
  width: 1000px;
}

.page.current
{
  top: 0;
}

article article,
article.sectioned,
article section,
header section
{
  background: none;
  margin-top: 0;
  padding: 0;
}

article article,
article section
{
  margin: 0;
}

article,
section,
article.sectioned section,
section.link_target,
#updates,
.page header
{
  margin: 0 auto 2% auto;
  padding: 1.75% 2%;
  overflow: hidden;
}

article section.link_target
{
  position: relative;
  height: 158px;
  margin-left: 2em;
  padding: 0;
}
html[lang=pt] article section.link_target
{
  height: 188px;
}

html[lang=de] article section.link_target
{
  height: 200px;
}

article.profile section,
section.link_target a
{
  padding: 5% 6%;
}

section.link_target a
{
  color: inherit;
  position: absolute;
  left: 0;
  top: 0;
  height: 125px;
}

section.link_target h2
{
  font-size: 35px;
  margin-bottom: .25em;
}

section.link_target p
{
  font-size: 13px;
  margin: 0;
}

.page header
{
  position: relative;
  overflow: visible;
}

body[data-href='gaming'] .page header,
body[data-href='business'] .page header
{
  padding-bottom: 1%;
}

body[data-href='gaming'] .page header.two_columns p:first-child,
body[data-href='business'] .page header.two_columns p:first-child
{
  margin-top: 0;
}

.page header hgroup
{
  float: left;
  padding-right: 2%;
  width: 34%;
}

.page header section
{
  float: left;
  width: 64%;
}

body[data-href='gaming'] .page header,
body[data-href='business'] .page header
{
  padding-bottom: 1%;
}

.page header hgroup h1
{
  font-weight: 300;
  margin: 0 0 .5em;
}

.page header hgroup h1 span,
.page header hgroup h2
{
  color: #5fa4a0;
  font-size: 34px;
  font-weight: 800;
  margin: 0;
}

.page header hgroup h1 + h2
{
  margin-top: -.5em;
}

.page header h3
{
  font-size: 22px;
  font-weight: 300;
  text-transform: uppercase;
}

.page header section,
.page header aside
{
  font-size: 15px;
  margin: .25em 0 0;
}

.page header section p
{
  margin: 0 0 1em;
}

.page header p:last-child
{
  margin-bottom: 0;
}

.two_columns
{
  -moz-column-count: 2;
  -o-column-count: 2;
  -ms-column-count: 2;
  -webkit-column-count: 2;
  column-count: 2;
  -moz-column-gap: 1.5em;
  -o-column-gap: 1.5em;
  -ms-column-gap: 1.5em;
  -webkit-column-gap: 1.5em;
  column-gap: 1.5em;
}

.page header section p.intro
{
  font-size: 15px;
  font-style: italic;
}

.page header section .column + .column + p
{
  clear: left;
  padding-top: 3em;
}

.page header section ul
{
  line-height: 1.3;
  list-style: square;
  margin: -.5em 0 0 2em;
}

.page header section li a
{
  font-weight: 600;
}

.three_columns
{
  -moz-column-count: 3;
  -ms-column-count: 3;
  -o-column-count: 3;
  -webkit-column-count: 3;
  column-count: 3;
}

.five_columns
{
  list-style: square;
  -moz-column-count: 5;
  -ms-column-count: 5;
  -o-column-count: 5;
  -webkit-column-count: 5;
  column-count: 5;
}

.page header section ul.three_columns li
{
  margin: 0 0 .75em;
}

.page header hgroup,
.page header section,
.page header .share,
.page section
{
  position: relative;
}

.page header .share {
  position: absolute;
  bottom: 15px;
  left: 15px;
  z-index: 2;
  display: block;
}

.page header .share li {
  border-top: none !important;
}

.page header .share a {
  background: none !important;
  padding-right: 5px !important;
}

.page header .share a img {
  width: 32px;
  height: 32px;
}

#start .share.preview {
  right: 130px;
  left: auto; /* needed for FF */
}
.page header .share.preview {
  display: block;
  bottom: 20px;
}

.page header .share ul
{
  list-style: none;
  margin: 0;
  padding: 0;
}

.page header .share li
{
  display: inline;
}

.page header.two_columns /* There is too much unpredictable behavior with CSS3 columns for this to reliable. Using floats for now. */
{
  -moz-column-count: 1 !important;
  -o-column-count: 1 !important;
  -ms-column-count: 1 !important;
  -webkit-column-count: 1 !important;
  column-count: 1 !important;
}

.page header.two_columns hgroup
{
  padding: 0 3% 0 0;
  float: left;
  width: 48%;
}

html[lang=pt] .page header.two_columns hgroup
{
  width: 53%;
}

.page header.two_columns section
{
  float: left;
  padding: 0;
  width: 49%;
}

.page header.two_columns p
{
  font-size: 16px;
  font-style: italic;
  margin: 0;
}

.page header.two_columns p + p
{
  margin-top: 1em;
}

.page header.two_columns hgroup img
{
  margin-bottom: 1em;
}

.page section header
{
  background: none;
  margin: 0 0 2em;
  padding: 0;
}

div.one_quarter,
div.one_half    { float: left; }
div.one_quarter { width: 25%; }
div.one_half    { width: 50%; }

.feed ul
{
  list-style: none;
  margin: 1em 0 !important;
  padding: 0;
}

.feed li
{
  clear: left;
  font-size: 14px;
  font-style: italic;
  list-style: none;
  line-height: 1.8;
  margin: 0;
  padding: .1em;
}

.feed li a
{
  color: #333;
}

.feed li span
{
  display: inline-block;
}

.feed li img
{
  vertical-align: text-top;
}

.feed li .date {
  width: 40px;
}

.feed li .author
{
  width: 20px;
  height: 20px;
  margin: 0 5px 0 0;
}

.feed li .author img
{
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.feed li .details
{
  display: inline;
}

.feed li .title
{
  display: inline;
  width: 70%;
  overflow-x: hidden;
  text-overflow: ellipsis;
}

.feed li span.type
{
  float: right;
  padding-right: 3px;
}

.feed p a
{
  font-size: 15px;
  font-style: italic;
  font-weight: 600;
  padding-left: 45px;
}

.class
{
  background-repeat: no-repeat;
  background-position: center;
  display: none !important;
  width: 20px;
  height: 16px;
  vertical-align: -3px;
  position: relative;
}

.class.offline,
.class.storage,
.class.connectivity,
.class.file_access,
.class.semantics,
.class.multimedia,
.class.graphics,
.class.presentation,
.class.performance,
.class.nuts_and_bolts
{
  display: inline-block !important;
}

.class.offline        { background-image: url(); }
.class.storage        { background-image: url(); }
.class.connectivity   { background-image: url(); }
.class.file_access    { background-image: url(); }
.class.semantics      { background-image: url(); }
.class.multimedia     { background-image: url(); }
.class.graphics       { background-image: url(); }
.class.presentation   { background-image: url(); }
.class.performance    { background-image: url(); }
.class.nuts_and_bolts { background-image: url(); }

.class_name,
.browser_name
{
  background: transparent;
  color: #333;
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
  padding: 3px 5px;
  position: absolute;
  top: -15px;
  left: 0;
  opacity: 0;
  text-align: center;
  text-transform: uppercase;
  -webkit-transition: all .1s ease-in-out;
  -moz-transition: all .1s ease-in-out;
  -ms-transition: all .1s ease-in-out;
  -o-transition: all .1s ease-in-out;
  transition: all .1s ease-in-out;
  display: inline-block;
}

.class:hover .class_name,
.browser:hover .browser_name,
.class:focus .class_name,
.browser:focus .browser_name
{
  opacity: 1;
}

.browsers
{
  float: left;
  margin: 0 .75em 0 .25em;
}

.browser
{
  float: left;
  height: 17px;
  width: 17px;
  background: transparent url('/static/images/browser_logos.png') no-repeat left top;
  opacity: 0.25;
  margin: -1px .25em 0 0;
  position: relative;
}

.browser_name
{
  left: -3px;
}

.browser.ie .browser_name
{
  white-space: nowrap;
}

.browser.chrome    { background-position: left top; }
.browser.ff        { background-position: -17px top; }
.browser.safari    { background-position: -35px top; }
.browser.ie        { background-position: -52px top; }
.browser.opera     { background-position: -69px top; }
.browser.supported { opacity: 1; }

.browser .support
{
  display: none;
}


/* EXTERNAL LINKS  */

.page header a[href^='http']:not([href*='html5rocks.']),
.tutorials a[href^='http']:not([href*='html5rocks.']),
.feed-section a[href^='http']:not([href*='html5rocks']),
.info-section a[href^='http']:not([href*='html5rocks.']),
article section a[href^='http']:not([href*='html5rocks']),
a[rel='external']
{
  background: transparent url() no-repeat center right;
  padding-right: 16px;
}

a.noexternal {
  padding-right: initial !important;
  background: none !important;
}

figure > a,
.figures li > a {
  background: none !important;
}


/* HEADER */

body,
input
{
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
}

header.main
{
  background: #ed4732;
  width: 100%;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 10;
  -webkit-font-smoothing: antialiased;
  font-weight: 600;
}

header.main #home_horns
{
  display: none;
}

header.main h1
{
  display: none;
  color: #fff;
  font-size: 1em;
  margin: 0;
  padding: 0 0 .2em .5em;
}

header.main h1 a
{
  color: #fff;
  font-weight: 800;
}

header.main nav
{
}

header.main nav ul
{
  margin: .1em;
  padding: 0.4em 0.6em;
}

header.main nav ul li
{
  font-size: 13px;
  display: inline-block;
}

header.main nav ul li a
{
  display: block;
  margin: .1em;
  padding: 0.4em 0.4em;
  max-width: 125px;
  white-space: nowrap;
}

body[data-href*='features'] header.main nav li#features_show,
body[data-href*='search'] header.main nav li#searchs_show,
body[data-href='why'] header.main nav a.why,
body[data-href='tutorials'] header.main nav a.tutorials,
body[data-href='updates'] header.main nav a.updates,
body[data-href='slides'] header.main nav a.slides,
body[data-href='resources'] header.main nav a.resources,
body[data-href='profiles'] header.main nav a.profiles,
header.main nav .current
{
  background: #f4907f;
}

header.main nav .home
{
  display: none;
}

#title,
header.main nav a
{
  text-transform: uppercase;
}

header.main nav a,
header.main nav a:hover,
header.main nav a:focus
{
  color: #fff !important;
}

header.main h1
{
  display: none;
}

#search_hide,
#features_hide
{
  cursor: pointer !important;
  padding: 19px 0 26px;
}

#search_show
{
  float: right;
}

#search_show img
{
  padding-left: 4px;
  vertical-align: -2px;
}

.gsc-completion-container
{
  border: 1px solid #4f4f4f;
  margin-top: 14px!important; /* dont let widget override this */
}

.gsc-completion-container td
{
  background: #65a8a5;
  color: #fff;
  font-family: 'Open Sans';
  padding: .4em .6em;
}

.gsc-completion-container td:hover,
.gsc-completion-container td:focus
{
  background: #4b7c7a;
  cursor: pointer !important;
}

.subheader .features
{
  padding-top: 8px;
  padding-bottom: 8px;
  overflow: hidden;
}

.subheader .features #features_hide
{
  padding-top: 21px;
}

.subheader .features #features_hide,
.subheader .features h2
{
  float: left;
}

.subheader .features h2
{
  color: #fff;
  font-size: 48px;
  font-weight: 300;
  margin: 0;
  padding: 5px 0 0 15px;
  text-transform: uppercase;
}

.subheader .features ul
{
  list-style: none;
  float: left;
  margin: 0;
  padding: 10px 0 0 20px;
  width: 710px;
}
html[lang=de] .subheader .features ul,
html[lang=ru] .subheader .features ul {
  width: 600px;
}
html[lang=es] .subheader .features ul {
  width: 543px;
}

.subheader .features ul li
{
  float: left;
  margin: 0;
  padding: 2px 0;
}

.subheader .features ul li a
{
  background-image: url(/static/images/subheader_classes.png);
  background-repeat: no-repeat;
  color: #fff;
  float: left;
  padding: 3px 0 4px 30px;
  text-transform: uppercase;
  width: 112px;
}

html[lang=es] .subheader .features ul li {
  width: 180px;
}
html[lang=ru] .subheader .features ul li {
  width: 200px;
}
html[lang=es] .subheader .features ul li a,
html[lang=ru] .subheader .features ul li a {
  width: auto;
}

.subheader .features ul li a.offline        { background-position: 0    2px; }
.subheader .features ul li a.storage        { background-position: 0  -48px; }
.subheader .features ul li a.connectivity   { background-position: 0  -98px; }
.subheader .features ul li a.file_access    { background-position: 0 -149px; }
.subheader .features ul li a.semantics      { background-position: 0 -198px; }
.subheader .features ul li a.multimedia     { background-position: 0 -248px; }
.subheader .features ul li a.graphics       { background-position: 0 -298px; }
.subheader .features ul li a.presentation   { background-position: 0 -348px; }
.subheader .features ul li a.performance    { background-position: 0 -398px; }
.subheader .features ul li a.nuts_and_bolts { background-position: 0 -448px; }

.subheader .features ul li a h3
{
  font-size: 14px;
  margin: 0;
}

.watermark
{
  position: fixed;
  left: 50%;
  margin-left: -605px;
  top: 30px;
  z-index: 2;
  padding: 20px;
  opacity: 0.65;
  width: 68px;
  height: 116px;
  background-image: url();
  background-repeat: no-repeat;
  background-position: center;
  -webkit-transition: opacity 300ms ease-in-out, top 150ms ease-in-out;
  -moz-transition: opacity 300ms ease-in-out, top 150ms ease-in-out;
  -ms-transition: opacity 300ms ease-in-out, top 150ms ease-in-out;
  -o-transition: opacity 300ms ease-in-out, top 150ms ease-in-out;
  transition: opacity 300ms ease-in-out, top 150ms ease-in-out;
}

body[data-href='home'] .watermark
{
  background-image: url();
  opacity: 0;
}

body[data-href='home'] .watermark.fadeIn
{
  opacity: .85;
}

body[data-href='gaming'] .watermark,
body[data-href='business'] .watermark
{
  background-image: url();
}

.watermark:hover,
.watermark:focus
{
  opacity: 1;
}



/* SITE-GRID NAVIGATION */
.nav,
.nav:hover,
.nav:focus
{
  text-shadow: 0 0 5px #000000;
  color: #fff;
  cursor: pointer !important;
  overflow: hidden;
}

.arrow_up,
.arrow_right,
.arrow_down,
.arrow_left,
nav.paginator a.previous,
nav.paginator a.next
{
  background-image: url(/static/images/nav_arrows.png);
  background-repeat: no-repeat;
  font-size: 14px;
  font-style: italic;
  text-align: center;
  text-transform: uppercase;
}

.arrow_up
{
  background-position: center top;
  height: 100px;
}

.arrow_right
{
  background-position: center -100px;
}

.arrow_down
{
  background-position: center -170px;
  margin-top: -1.5em;
  height: 90px;
}

.arrow_left
{
  background-position: center -300px;
}

nav.paginator
{
  display: none;
  position: fixed;
  left: 50%;
  top: 65px;
  margin-left: 500px;
  width: 100px;
  height: 250px;
  overflow: hidden;
  z-index: 2;
}

nav.paginator ul
{
  display: none;
  margin: 0;
  padding: 0;
}

nav.paginator a.previous,
nav.paginator a.next
{
  display: block;
  text-shadow: 0 0 3px #bbb;
  cursor: pointer !important;
  overflow: hidden;
  position: absolute;
  width: 100px;
}

nav.paginator a.previous
{
  background-position: center -683px;
  padding: 0 0 55px 0;
}

nav.paginator a.next
{
  background-position: center -500px;
  padding: 55px 0 0 0;
  top: 135px;
}

nav.paginator.features a       { color: #555; }
nav.paginator.features a:hover,
nav.paginator.features a:focus {
  color: #000;
}

body[data-href='home']       nav.paginator.home,
body[data-href='mobile']   nav.paginator.home,
body[data-href='gaming']     nav.paginator.home,
body[data-href='business']   nav.paginator.home,
body[data-href='home']       nav.paginator.home ul.home,
body[data-href='mobile']   nav.paginator.home ul.mobile
body[data-href='gaming']     nav.paginator.home ul.gaming,
body[data-href='business']   nav.paginator.home ul.business,
body[data-href='features-offline']        nav.paginator.features,
body[data-href='features-storage']        nav.paginator.features,
body[data-href='features-connectivity']   nav.paginator.features,
body[data-href='features-file_access']    nav.paginator.features,
body[data-href='features-semantics']      nav.paginator.features,
body[data-href='features-multimedia']     nav.paginator.features,
body[data-href='features-graphics']       nav.paginator.features,
body[data-href='features-presentation']   nav.paginator.features,
body[data-href='features-performance']    nav.paginator.features,
body[data-href='features-nuts_and_bolts'] nav.paginator.features,
body[data-href='features-offline']        nav.paginator.features ul.offline,
body[data-href='features-storage']        nav.paginator.features ul.storage,
body[data-href='features-connectivity']   nav.paginator.features ul.connectivity,
body[data-href='features-file_access']    nav.paginator.features ul.file_access,
body[data-href='features-semantics']      nav.paginator.features ul.semantics,
body[data-href='features-multimedia']     nav.paginator.features ul.multimedia,
body[data-href='features-graphics']       nav.paginator.features ul.graphics,
body[data-href='features-presentation']   nav.paginator.features ul.presentation,
body[data-href='features-performance']    nav.paginator.features ul.performance,
body[data-href='features-nuts_and_bolts'] nav.paginator.features ul.nuts_and_bolts
{
  display: block;
}


/* HOMEPAGE */

body[data-href='home'] #start
{
  background: none;
  margin: 0;
  padding: 0;
  position: relative;
  width: 1000px;
  height: 385px;
}

body[data-href='home'] #start article
{
  margin: 0;
  padding: .5em 2em;
}

body[data-href='home'] #intro {
  margin-bottom: 0;
}

.page .cds-banner,
body[data-href='home'] #banner {
  height: 100px;
  background-image: url(/static/images/conferences/cds-home-thin.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  padding: 0;
  margin-bottom: 3%;
}
.page .cds-banner a,
body[data-href='home'] #banner a {
  display: block;
  width: 100%;
  height: 100%;
  text-indent: -9999em;
  font-size: 0;
}

@media screen and (min-width: 440px) {
  .page .cds-banner,
  body[data-href='home'] #banner {
    background: url(/static/images/conferences/cds-home-mid.png) top left no-repeat,
      #63a7e0; /* Old browsers */
    background: url(/static/images/conferences/cds-home-mid.png) top left no-repeat,
      -moz-linear-gradient(top, #63a7e0 0%, #4393d5 100%); /* FF3.6+ */
    background: url(/static/images/conferences/cds-home-mid.png) top left no-repeat,
      -webkit-gradient(linear, left top, left bottom, color-stop(0%, #63a7e0), color-stop(100%,#4393d5)); /* Chrome,Safari4+ */
    background: url(/static/images/conferences/cds-home-mid.png) top left no-repeat,
      -webkit-linear-gradient(top, #63a7e0 0%,#4393d5 100%); /* Chrome10+,Safari5.1+ */
    background: url(/static/images/conferences/cds-home-mid.png) top left / contain no-repeat,
      -o-linear-gradient(top, #63a7e0 0%,#4393d5 100%); /* Opera 11.10+ */
    background: url(/static/images/conferences/cds-home-mid.png) top left / contain no-repeat,
      -ms-linear-gradient(top, #63a7e0 0%,#4393d5 100%); /* IE10+ */
    background: url(/static/images/conferences/cds-home-mid.png) top left / contain no-repeat,
      linear-gradient(to bottom, #63a7e0 0%,#4393d5 100%); /* W3C */

    height: 120px;
    border-radius: 4px;
  }
}

@media screen and (min-width: 770px) {
  .page .cds-banner,
  body[data-href='home'] #banner {
    background: url(/static/images/conferences/cds-home.png);
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    height: 120px;
    margin: -2% 0 2% 0;
  }

  .page .cds-banner {
    height: 80px;
    background: url(/static/images/conferences/cds-article.png) center center no-repeat;
    background: url(/static/images/conferences/cds-article.png) center center / contain no-repeat;
    margin: -1.5% 0 0.5% 0;
  }
}

@media screen and (min-width: 810px) {
  body[data-href='home'] #banner {
    height: 132px;
    margin: 0 0 3% 0;
  }
}

body[data-href='home'] #logo,
body[data-href='home'] #updates
{
  position: absolute;
}

body[data-href='home'] #logo
{
  display: block;
  margin: 0 auto 2% auto;
  text-align: center;
  width: 100%;
}

body[data-href='home'] #updates
{
  margin-top: 0;
  left: 0;
  width: 96%;
  height: 330px;
}

body[data-href='home'] #updates h2
{
  font-size: 18px;
  margin: 0;
}

body[data-href='home'] #updates h2 a
{
  background: none !important;
}

body[data-href='home'] #updates ul
{
  margin: .5em 0 !important;
}

body[data-href='home'] #updates_list {
  width: 60%;
}

body[data-href='home'] #updates_list li {
  white-space: nowrap;
  text-overflow: ellipsis;
}

body[data-href='home'] #updates_list .title {
  max-width: 75%;
  width: auto;
}

#updates_title
{
  float: right;
  margin-left: 3em;
  width: 39%;
}

body[data-href='home'] article.sectioned section.one_third
{
  margin-top: 0;
}

#classes
{
  margin: 0 0 2%;
  padding-bottom: 0;
}

#classes header
{
  margin-bottom: 0;
  -moz-column-count: 0;
  -o-column-count: 0;
  -ms-column-count: 0;
  -webkit-column-count: 0;
  column-count: 0;
}

#classes hgroup
{
  float: left;
  padding-right: 0;
  width: 33%;
}

#classes hgroup + p
{
  font-size: 13px;
  font-style: normal;
  float: left;
  margin: 0 0 1em !important;
  width: 67%;
}

html[lang=pt] #classes hgroup
{
  width: 53%;
}
html[lang=pt] #classes hgroup + p
{
  width: 47%
}

html[lang=de] #classes hgroup
{
  width: 40%;
}
html[lang=de] #classes hgroup + p
{
  width: 60%
}

#classes ul
{
  clear: both;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 2;
}

#classes li
{
  float: left;
  margin: -30px 4px 0 0;
  width: 90px;
  cursor:pointer;
}

#classes li a
{
  background-image: url(/static/images/features/homepage_feature_icons.png);
  background-repeat: no-repeat;
  color: #333;
  display: block;
  text-align: center;
  width: 90px;
  padding-bottom: 76px;
  margin-top: 40px;
}

#classes li a:hover,
#classes li a:focus
{
  color: #5FA4A0;
}

#classes li.offline a              { background-position: left   25px; }
#classes li.storage a              { background-position: left -117px; }
#classes li.connectivity a         { background-position: left -258px; }
#classes li.file_access a          { background-position: left -399px; }
#classes li.semantics a            { background-position: left -540px; }
#classes li.multimedia a           { background-position: left -681px; }
#classes li.graphics a             { background-position: left -822px; }
#classes li.presentation a         { background-position: left -963px; }
#classes li.performance a          { background-position: left -1104px; }
#classes li.nuts_and_bolts a       { background-position: left -1245px; }

#classes li.offline a:hover,
#classes li.offline a:focus {
  background-position: -121px 25px;
}
#classes li.storage a:hover,
#classes li.storage a:focus {
  background-position: -121px -117px;
}
#classes li.connectivity a:hover,
#classes li.connectivity a:focus {
  background-position: -121px -258px;
}
#classes li.file_access a:hover,
#classes li.file_access a:focus {
  background-position: -121px -399px;
}
#classes li.semantics a:hover,
#classes li.semantics a:focus {
  background-position: -121px -540px;
}
#classes li.multimedia a:hover,
#classes li.multimedia a:focus {
  background-position: -121px -681px;
}
#classes li.graphics a:hover,
#classes li.graphics a:focus {
  background-position: -121px -822px;
}
#classes li.presentation a:hover,
#classes li.presentation a:focus {
  background-position: -121px -963px;
}
#classes li.performance a:hover,
#classes li.performance a:focus {
  background-position: -121px -1104px;
}
#classes li.nuts_and_bolts a:hover,
#classes li.nuts_and_bolts a:focus {
  background-position: -121px -1245px;
}

#classes li h3
{
  display: inline;
  font-size: 12px;
}

html[lang=pt] #classes li h3
{
  font-size: 10px;
}

article.profile
{
  float: left;
  margin: 0 0 2% 2%;
  width: 32%;
  position: relative;
  overflow: hidden;

}

article.profile.active {
   -webkit-animation: inputglow 1.9s 3;  /* just do it three times */
      -moz-animation: inputglow 1.9s 3;
       -ms-animation: inputglow 1.9s 3;
}

article.profile section
{
  margin: 0;
  height: 248px;
}

img[itemprop=photo] {
  -webkit-filter: grayscale(0.75) sepia(0.5);
     -moz-filter: grayscale(0.75) sepia(0.5);
      -ms-filter: grayscale(0.75) sepia(0.5);
       -o-filter: grayscale(0.75) sepia(0.5);
          filter: grayscale(0.75) sepia(0.5);

  -webkit-transition: all 0.3s ease-out;
     -moz-transition: all 0.3s ease-out;
      -ms-transition: all 0.3s ease-out;
       -o-transition: all 0.3s ease-out;
          transition: all 0.3s ease-out;
}

.profile img[itemprop=photo] {
  float: left;
  margin-right: 19px;
  width: 75px;
  height: 75px;
}

.profile:hover img[itemprop=photo],
.profile:focus img[itemprop=photo],
img[itemprop=photo]:hover {
  -webkit-filter: grayscale(0) sepia(0);
     -moz-filter: grayscale(0) sepia(0);
      -ms-filter: grayscale(0) sepia(0);
       -o-filter: grayscale(0) sepia(0);
          filter: grayscale(0) sepia(0);
}

.profile h2,
.profile h2 span
{
  color: #000;
  font-size: 14px;
  font-weight: 600;
}

.profile h3
{
  font-size: 11px;
  margin: 1em 0;
}

.profile h3 div[itemprop=organization-name]
{
  font-weight: 600;
}

.profile h3[itemprop=adr]
{
  font-size: 10px;
}

.profile .urls
{
  float: left;
  list-style: none;
  margin: 3px 0 0 -4px;
  padding: 0;
  width: 95px;
}

.profile .urls li
{
  display: inline;
  margin: 0;
  padding: 0;
}

.profile .urls li a
{
  background-position: center;
  background-repeat: no-repeat;
  float: left;
  height: 16px;
  width: 16px;
  padding: 2px !important;
  opacity: .7;
  -webkit-transition: opacity 100ms ease-in-out;
  -moz-transition: opacity 100ms ease-in-out;
  -ms-transition: opacity 100ms ease-in-out;
  -o-transition: opacity 100ms ease-in-out;
  transition: opacity 100ms ease-in-out;
}

.profile .urls li a:hover,
.profile .urls li a:focus
{
  opacity: 1;
}

.profile .urls li a[data-type='homepage'] { background-image: url(); }
.profile .urls li a[data-type='google']   { background-image: url(); }
.profile .urls li a[data-type='twitter']  { background-image: url(); }
.profile .urls li a[data-type='lanyrd']   { background-image: url(); }

.profile .list-articles
{
  color: #666;
  cursor: pointer !important;
  float: left;
  font-size: 15px;
  font-weight: 600;
  padding: 3px;
  text-transform: uppercase;
  -webkit-transition: color 150ms ease-in-out;
  -moz-transition: color 150ms ease-in-out;
  -ms-transition: color 150ms ease-in-out;
  -o-transition: color 150ms ease-in-out;
  transition: color 150ms ease-in-out;
}

.profile:hover .list-articles { color: #5fa4a0; }
.profile:focus .list-articles { color: #5fa4a0; }

.profile .list-articles span
{
  display: inline-block;
  -webkit-transition: -webkit-transform 300ms ease-in-out;
  -moz-transition: -moz-transform 300ms ease-in-out;
  -ms-transition: -ms-transform 300ms ease-in-out;
  -o-transition: -o-transform 300ms ease-in-out;
  transition: transform 300ms ease-in-out;
}

.profile .list-articles.active span
{
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  transform: rotate(90deg);
}

.profile .map,
.profile .articles
{
  position: absolute;
  width: 278px;
  height: 125px;
  overflow: auto;
  -webkit-transition: all 300ms ease-in-out;
  -moz-transition: all 300ms ease-in-out;
  -ms-transition: all 300ms ease-in-out;
  -o-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out;
}

.profile .map             { left: -800px; top: 135px; }
.profile .articles        { left: 800px; top: 135px; }
.profile .map.active,
.profile .articles.active { left: 20px; top: 135px; }

.profile .map
{
  background: #ddd;
}

.profile .articles
{
  margin: 0;
  padding: 0;
}

.profile .articles li
{
  margin: .3em 0;
  white-space: nowrap;
}

.profile .articles a
{
  font-size: 13px;
  display: list-item;
  list-style: square;
  overflow-x: hidden;
  text-overflow: ellipsis;
}

body[data-href='home'] .profile
{
  margin: 0 0 2% 2%;
  width: 23.5%;
}

body[data-href='profiles'] .profile:first-child,
body[data-href='profiles'] .profile:nth-child(3n + 1)
{
  margin-left: 0;
}

body[data-href='profiles'] .profile h3
{
  white-space: nowrap;
}

body[data-href='home'] .profile section
{
  height: 75px;
  padding: 6%;
}

body[data-href='home'] .profile:first-child,
body[data-href='home'] .profile:nth-child(4n + 1)
{
  margin-left: 0;
}

body[data-href='home'] .profile h3
{
  color: #333;
  font-size: 10px;
}

ul.authors
{
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.authors li
{
  float: left;
  margin: 1% 0;
  padding: 0 3% 0 0;
  overflow: hidden;
  width: 240px;
  display: block;
}

ul.authors li.profile h2
{
  margin-top: .25em;
}

.one_third ul.authors li
{
  clear: none;
  float: none;
  margin: 3% 0 5%;
  width: 100%;
}

.two_thirds ul.authors li
{
  width: 47%;
  margin-bottom: 2%;
}



/* FEATURES: OUTLINE NAVIGATION */

body[data-href='features-offline'] .outline_nav_toggle,
body[data-href='features-storage'] .outline_nav_toggle,
body[data-href='features-connectivity'] .outline_nav_toggle,
body[data-href='features-file_access'] .outline_nav_toggle,
body[data-href='features-semantics'] .outline_nav_toggle,
body[data-href='features-multimedia'] .outline_nav_toggle,
body[data-href='features-graphics'] .outline_nav_toggle,
body[data-href='features-presentation'] .outline_nav_toggle,
body[data-href='features-performance'] .outline_nav_toggle,
body[data-href='features-nuts_and_bolts'] .outline_nav_toggle,
article.tutorial .outline_nav_toggle
{
  display: block;
}

.outline_nav_toggle
{
  display: none;
  position: fixed;
  left: 50%;
  top: 145px;
  margin-left: 525px;
  width: 30px;
  height: 30px;
  cursor: pointer !important;
  padding: 10px;
  z-index: 3;
}

.outline_nav_toggle img {
  position: absolute;
  top: 10px;
  left: 10px;
  -webkit-transition: all .25s ease-in-out;
  -moz-transition: all .25s ease-in-out;
  -ms-transition: all .25s ease-in-out;
  -o-transition: all .25s ease-in-out;
  transition: all .25s ease-in-out;
  z-index: 4;
}

.outline_nav_toggle img.show
{
  z-index: 5;
}

.outline_nav_toggle.activated img.show
{
  opacity: 0;
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  transform: rotate(90deg);
}

nav.outline {
  display: none;
  background-color: #bebebe;
  position: absolute;
  right: 50%;
  top: 20px;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px 0 #bbb;
  overflow: auto;
  max-height: 525px;
  z-index: 3;
}

nav.outline h3
{
  font-size: 16px;
  font-weight: 300;
  margin: 0;
  text-transform: uppercase;
}

nav.outline.toc
{
  width: 300px;
}

nav.outline.toc ul
{
  margin-left: 1.5em;
  margin-bottom: 1em;
}

nav.outline.toc p {
  font-size: 13px;
}

nav.outline.toc ul:last-child
{
  margin-bottom: 0;
}

nav.outline.toc a
{
  margin-left: -1.5em;
  text-indent: 1.5em;
}

nav.outline.toc p a
{
  margin-left: 0;
}

nav.outline.toc li
{
  margin: .5em 0;
}

nav.outline.features
{
  width: 130px;
}

nav.outline.features ul
{
  margin: .75em 0 -.5em 0;
}

nav.outline.features li
{
  margin: 0;
}

nav.outline.features li a
{
  display: block;
}

nav.outline.features li a.section_title
{
  background-position: left;
  background-repeat: no-repeat;
  font-size: 13px;
  padding: .25em 0 .25em 18px;
}

nav.outline.features li.current a.section_title
{
  font-weight: 600;
}

nav.outline.features li a.offline        { background-image: url(); }
nav.outline.features li a.storage        { background-image: url(); }
nav.outline.features li a.connectivity   { background-image: url(); }
nav.outline.features li a.file_access    { background-image: url(); }
nav.outline.features li a.semantics      { background-image: url(); }
nav.outline.features li a.multimedia     { background-image: url(); }
nav.outline.features li a.graphics       { background-image: url(); }
nav.outline.features li a.presentation   { background-image: url(); }
nav.outline.features li a.performance    { background-image: url(); }
nav.outline.features li a.nuts_and_bolts { background-image: url(); }

nav.outline.features ul ul
{
  display: none;
  margin: 0 0 .75em;
}

nav.outline.features ul ul a
{
  font-size: 12px;
  font-weight: 400;
  padding: .3em 0 .3em 18px;
}

body[data-href='features-offline']        nav.outline.features .offline        ul { display: block; }
body[data-href='features-storage']        nav.outline.features .storage        ul { display: block; }
body[data-href='features-connectivity']   nav.outline.features .connectivity   ul { display: block; }
body[data-href='features-file_access']    nav.outline.features .file_access    ul { display: block; }
body[data-href='features-semantics']      nav.outline.features .semantics      ul { display: block; }
body[data-href='features-multimedia']     nav.outline.features .multimedia     ul { display: block; }
body[data-href='features-graphics']       nav.outline.features .graphics       ul { display: block; }
body[data-href='features-presentation']   nav.outline.features .presentation   ul { display: block; }
body[data-href='features-performance']    nav.outline.features .performance    ul { display: block; }
body[data-href='features-nuts_and_bolts'] nav.outline.features .nuts_and_bolts ul { display: block; }



/* FEATURES: CONTENT */

body[data-href*='features'] .page header
{
  min-height: 250px;
}

body[data-href*='features'] .page header hgroup,
body[data-href*='features'] .page header section
{
  z-index: 2;
}

body[data-href*='features'] .page header section p.intro
{
  font-size: 18px;
}

body[data-href*='features'] .page header section p
{
  line-height: 1.7;
}

.feature_icon
{
  background: url(/static/images/feature_icons.png), url(/static/images/feature_icon_background.png);
  background-repeat: no-repeat;
  background-position: center top, left top;
  position: absolute;
  z-index: 1;
  top: -15px;
  left: -50px;
  width: 453px;
  height: 372px;
  -webkit-transition: background-position .25s ease-in-out;
  -moz-transition: background-position .25s ease-in-out;
  -ms-transition: background-position .25s ease-in-out;
  -o-transition: background-position .25s ease-in-out;
  transition: background-position .25s ease-in-out;
}

body[data-href='features-offline']        .feature_icon { background-position: center 76px, left top; }
body[data-href='features-storage']        .feature_icon { background-position: center -298px, left top; }
body[data-href='features-connectivity']   .feature_icon { background-position: center -672px, left top; }
body[data-href='features-file_access']    .feature_icon { background-position: center -1046px, left top; }
body[data-href='features-semantics']      .feature_icon { background-position: center -1428px, left top; }
body[data-href='features-multimedia']     .feature_icon { background-position: center -1790px, left top; }
body[data-href='features-graphics']       .feature_icon { background-position: center -2164px, left top; }
body[data-href='features-presentation']   .feature_icon { background-position: center -2538px, left top; }
body[data-href='features-performance']    .feature_icon { background-position: center -2912px, left top; }
body[data-href='features-nuts_and_bolts'] .feature_icon { background-position: center -3286px, left top; }

div.description p
{
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 1em;
}

div.description + section.support.none
{
  margin-top: 0;
}

section.support h3,
section.updates h3
{
  margin-top: 0;
}

section.updates ul
{
  list-style: none;
  margin: 1em 0 0 0;
  padding: 0;
}

section.updates li
{
  margin: 0 0 .5em;
  -moz-column-break-after: avoid;
  -webkit-column-break-after: avoid;
  -o-column-break-after: avoid;
  -ms-column-break-after: avoid;
  column-break-after: avoid;
  -moz-column-break-inside: avoid;
  -webkit-column-break-inside: avoid;
  -ms-column-break-inside: avoid;
  -o-column-break-inside: avoid;
  column-break-inside: avoid;
}

section.updates.two_columns
{
  -moz-column-count: 1 !important;
  -o-column-count: 1 !important;
  -ms-column-count: 1 !important;
  -webkit-column-count: 1 !important;
  column-count: 1 !important;
  margin: 0 0 2% 0 !important;
  width: 96% !important;
}

section.updates.two_columns ul
{
  -moz-column-count: 2;
  -o-column-count: 2;
  -ms-column-count: 2;
  -webkit-column-count: 2;
  column-count: 2;
  -moz-column-gap: 20px;
  -webkit-column-gap: 20px;
  -o-column-gap: 20px;
  -ms-column-gap: 20px;
  column-gap: 20px;
}

section.support
{
  margin-right: 2em !important;
}

section.support h3
{
  margin-bottom: 0;
}

section.support h4
{
  font-size: 16px;
  font-style: italic;
  font-weight: 300;
  margin: .75em 0 1.5em;
}

section.support h4 a
{
  color: #333;
  font-size: 18px;
}

section.support table
{
  position: relative;
}

section.support table + table
{
  margin-top: 2em;
}

section.support thead th
{
  -webkit-transition: all .1s ease-in-out;
  -moz-transition: all .1s ease-in-out;
  -ms-transition: all .1s ease-in-out;
  -o-transition: all .1s ease-in-out;
  transition: all .1s ease-in-out;
  position: absolute;
  top: -20px;
  color: #333;
  font-size: 11px;
  font-weight: 400;
  padding: 3px 0;
  text-align: center;
  text-transform: uppercase;
  width: 87px;
  opacity: 0;
}

section.support table + table thead th:nth-child(1):first-letter { text-transform: none; } /* Don't capitalize the 'i' in iOS. */

section.support thead th.current
{
  opacity: 1;
}

section.support thead th:nth-child(1) { left: 0; }
section.support thead th:nth-child(2) { left: 65px; }
section.support thead th:nth-child(3) { left: 135px; }
section.support thead th:nth-child(4) { left: 208px; }
section.support thead th:nth-child(5) { left: 278px; }

section.support td {
  background-image: url(/static/images/browsers.png);
  background-repeat: no-repeat;
  font-size: 24px;
  padding-top: 50px;
  text-align: center;
  width: 85px;
}

section.support tbody td.chrome  { background-position: center 2px; }
section.support tbody td.firefox { background-position: center -159px; }
section.support tbody td.safari  { background-position: center -320px; }
section.support tbody td.opera   { background-position: center -480px; }
section.support tbody td.ie      { background-position: center -644px; }
section.support tbody td.ios_saf { background-position: center -805px; }
section.support tbody td.android { background-position: center -966px; }
section.support tbody td.op_mini { background-position: center -1125px; }
section.support tbody td.op_mob  { background-position: center -1287px; }

section.support p.credit
{
  color: #888;
  font-size: 13px;
  margin-top: 2.5em;
  text-align: center;
}

section.support p.credit a
{
  color: #333;
}

section.support aside.support_details p
{
  border-top: 1px solid #ccc;
  font-size: 14px;
  line-height: 1.6;
  margin: 1.5em 0 0;
  padding: 1.5em 0 0;
}

section.support.none
{
  display: none !important;
}

section.support.multiple,
section.support.multiple + section,
section.support.none + section
{
  float: none;
  height: inherit;
  width: 96% !important;
}

#updates
{
  margin-bottom: 2% !important;
}

section.support.multiple
{
  height: inherit;
}

section.support.multiple div
{
  clear: left;
  padding: .75em 0;
}

section.support.multiple h4
{
  float: left;
  margin: 45px 0 0;
  padding: 1.2em 0 0;
  width: 300px;
}

section.support.multiple div + div h4
{
  margin-top: 0;
}

section.support.multiple table
{
  float: left;
}

section.support.multiple table + table
{
  margin-top: 0;
}

section.support.multiple td
{
  padding-top: 60px;
  width: 70px;
}

section.support.multiple div + div
{
  border-top: 1px solid #ddd;
}

section.support.multiple div + div h4
{
  padding-top: .4em;
}

section.support.multiple div + div table
{
  margin-top: .25em;
}

section.support.multiple div + div td
{
  background: 0;
  padding-top: 0;
}

section.support.multiple p
{
  clear: left;
  margin-top: 1em;
  text-align: left;
}

section.support + section
{
  clear: both;
}

ul.figures
{
  list-style: none;
  margin: 0;
  padding: 0;
}

article.feature figure,
section.figures figure,
ul.figures li
{
  float: left;
  width: 50%;
  margin: 1em 0 .5em;
  padding: 0;
}

ul.figures li
{
  min-height: 85px;
}

article.feature figure,
section.figures figure,
ul.figures.books li
{
  min-height: 100px;
}

article.feature figure section.one_half figure,
article.feature figure section.one_third figure,
article.feature figure section.two_thirds figure,
section.figures.one_half figure,
section.figures.one_third figure,
section.figures.two_thirds figure
{
  float: none;
  width: 100%;
}

article.feature figure a,
ul.figures li a
{
  display: block;
  font-size: 14px;
  font-weight: 600;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

article.feature figure a p,
section.figures figure a p,
ul.figures li a p
{
  color: #333;
  font-size: 13px;
  font-weight: normal;
  margin: .25em 0;
}

section.figures figcaption > a {
  font-weight: 600;
  font-size: 14px;
}

article.feature figure img,
section.figures figure img,
ul.figures li a img
{
  float: left;
  max-width: 150px;
  height: auto;
  border: 1px solid #eee;
}

article.feature figcaption,
section.figures figcaption,
ul.figures li a strong,
ul.figures li a p
{
  margin: 0 0 0 150px;
  padding: 0 1.5em;
}

ul.figures li a
{
  font-weight: 400;
}

ul.figures li a strong
{
  display: block;
  font-size: 14px;
  margin-top: -.1em;
}

ul.figures.books li img
{
  max-width: 105px;
}

ul.figures.books li a strong,
ul.figures.books li a p
{
  margin-left: 100px;
}

article.two_columns section figure,
section.two_thirds figure
{
  width: 100%;
}

article.two_columns section figcaption,
section.two_thirds figcaption
{
  padding-right: 0;
}

ul.definitions
{
  line-height: 1.5;
  list-style: none;
  margin: -.75em 0 0 0;
  padding: 0;
  -moz-column-count: 2;
  -webkit-column-count: 2;
  -ms-column-count: 2;
  -o-column-count: 2;
  column-count: 2;
  -moz-column-gap: 20px;
  -webkit-column-gap: 20px;
  -ms-column-gap: 20px;
  -o-column-gap: 20px;
  column-gap: 20px;
}

ul.definitions li
{
  font-size: 14px;
  margin: 0;
  padding: .75em 0;
  -moz-column-break-inside: avoid;
  -webkit-column-break-inside: avoid;
  -o-column-break-inside: avoid;
  -ms-column-break-inside: avoid;
  column-break-inside: avoid;
}

ul.definitions li span
{
  display: block;
}

ul.definitions li a
{
  font-weight: 600;
}

.one_half ul.definitions,
.one_third ul.definitions,
.two_thirds ul.definitions
{
  -moz-column-count: 1;
  -webkit-column-count: 1;
  -ms-column-count: 1;
  -o-column-count: 1;
  column-count: 1;
}

section ul
{
  font-size: 14px;
  line-height: 1.6;
  list-style: square;
  margin-left: 1.75em;
  padding-left: 0;
}

section li
{
  margin-bottom: .75em;
}

section ul.two_columns
{
  margin: 0;
}

section ul.two_columns li
{
  margin: .25em 0 .75em 1.5em;
}


/* UPDATES & TUTORIALS */

article.tutorial {
  margin-left: 340px;
  position: relative;
  overflow: visible;
}

article.tutorial .outline_nav_toggle
{
  position: static;
  top: 0;
  left: 0;
  width: inherit;
  height: inherit;
  padding: 0;
  margin: 0;
}

article.tutorial nav.outline.toc
{
  margin: 0;
  width: 280px;
  display: block;
  position: absolute;
  top: 0;
  left: -340px;
  box-shadow: none;
  display: block !important; /* to ignore the fadeToggle on wide-display treatment */
  opacity: 1 !important; /* to ignore the fadeToggle on wide-display treatment */
}


article.tutorial nav.outline h3
{
  text-transform: none;
   margin-bottom: 1em;
}

article.tutorial h1:target,
article.tutorial h2:target,
article.tutorial h3:target,
article.tutorial h4:target,
article.tutorial h5:target
{
  padding-top: 50px;
}


section.cc,
section.disqus
{
  margin-left: 340px;
  position: relative;
  overflow: visible;
}

.page header section.filter
{
  margin-top: .5em;
}

.page header section.filter h3
{
  font-size: 16px;
  font-weight: 600;
  margin-bottom: .35em;
}

#filter {
  font-size: 16px;
  font-weight: 600;
}

.page header section.filter ul
{
  list-style: none;
  margin: 0;
  padding: 0;
}

.page header section.filter li
{
  display: block;
  margin: .3em 0;
}

.page header section.filter li input
{
  margin-right: 5px;
}

.page header section.filter .one_half ul li
{
  float: left;
  margin-top: 0;
  width: 50%;
}

.page header section.filter div.tag_filter
{
  clear: both;
  float: left;
  padding-top: 1em;
}

.page header section.filter div.tag_filter label
{
  font-weight: 600;
  text-transform: uppercase;
}

input.search {
  background: #eee;
  border: 0;
  font-size: 18px;
  font-style: italic;
  margin: 0 0 0 .5em;
  padding: .2em .3em;
  vertical-align: -2px;
  width: 540px;
}

.tutorial_listing
{
  margin: 1.5em 0 2.5em;
  padding: 0;
}

.tutorial_listing h3
{
  font-size: 16px;
  font-style: italic;
  font-weight: 600;
}

.tutorial_listing .date,
.tutorial_listing .author,
.tutorial_listing .tags,
.tutorial_listing .tag,
.tutorial_listing .classes
{
  float: left;
}

.tutorial_listing .date,
.tutorial_listing .author,
.tutorial_listing .browsers,
.tutorial_listing .tags,
.tutorial_listing .classes
{
  height: 18px;
}

.tutorial_listing .author,
.tutorial_listing .tags
{
  margin-right: 1.5em;
}

.tutorial_listings .tags
{

}

.tutorial_listing .author {
  margin-left: 1.5em;
}

.tutorial_listing .author img.author_image
{
  width: 18px;
  height: 18px;
  margin-left: 0.25em;
  vertical-align: top;
}

.tutorial_listing .tag
{
  color: #888;
  font-size: 11px;
  margin: 2px 0.5em 0 0.5em;
  text-transform: uppercase;
  cursor: pointer;
}

.tutorial_listing .tag:hover,
.tutorial_listing .tag:focus
{
  color: #333;
}

.tutorial_listing .classes
{
  margin-left: 1em;
}

.tutorial_listing .browsers
{
  margin: 0 1.5em;
}

.tutorial_listing .summary
{
  clear: left;
  padding-top: .5em;
}

.tutorial_listing .buttonlink
{
  display: none;
}

header.tutorial {
  padding: 1em 0.9em;
  box-sizing: border-box;
}

header.tutorial hgroup + section
{
  margin-top: 0;
}

header.tutorial .byline
{
  float: left;
  width: 100%;
  overflow: hidden;
}

header.tutorial aside
{
  float: left;
  width: 50%;
  overflow: hidden;
}

header.tutorial aside
{
  margin-left: 0;
}

header.tutorial section h3,
header.tutorial section
{
  color: #333;
  font-size: 13px;
  text-transform: none;
}
header.tutorial section h2 {
  font-size: 26px;
  font-weight: 300;
  margin: 0 0 .25em;
}

header.tutorial .byline
{
  margin-top: .75em;
}

header.tutorial .byline hgroup
{
  float: none;
  padding: 0;
  width: 100%;
}

header.tutorial .byline img
{
  float: left;
  width: 50px;
  height: 50px;
  margin: .2em .75em 0 0;
}

header.tutorial .byline h2
{
  font-weight: 300;
  line-height: 1.5;
  margin: 0 0 .15em;
}

header.tutorial .byline h2 strong
{
  font-weight: 600;
}

header.tutorial .byline h2 span
{
  color: #333;
  display: block;
  font-weight: 300;
}

header.tutorial .browser_support
{
  font-size: 12px;
  padding-top: 1em;
  width: 632px;
}

header.tutorial aside a
{
  background: none !important;
}

header.tutorial .browser_support h3
{
  float: left;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
  text-transform: uppercase;
}

header.tutorial .browser_support p
{
  float: left;
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
}

header.tutorial .compatible-block {
  font-size: small;
  font-style: italic;
}
header.tutorial #notcompatible {
  color: red;
}

header.tutorial #compatible {
  color: green;
}

.redirect_notification {
  text-align: center;
}

header.tutorial .date time {
  display: inline-block;
}

article.tutorial figure
{
  display: block;
  text-align: center;
}

article.tutorial section {
  overflow: visible; /* Make sure FACT and TIP text isn't cut off */
}

article.tutorial .notice {
  background: hsla(60, 70%, 92%, 1);
  padding: 4px 10px;
  border: 1px solid hsla(47, 100%, 72%, 1);
  border-radius: 2px;
}

article.tutorial .notice.fact,
article.tutorial .notice.tip {
  position: relative;
  padding-left: 25px;
}
article.tutorial .notice.fact:before,
article.tutorial .notice.tip:before {
  position: absolute;
  top: -5px;
  left: -10px;
  text-transform: uppercase;
  -webkit-transform: rotateZ(-30deg);
  -moz-transform: rotateZ(-30deg);
  -o-transform: rotateZ(-30deg);
  -ms-transform: rotateZ(-30deg);
  transform: rotateZ(-30deg);
  color: rgb(237, 71, 50);
  font-weight: bold;
  content: "Fact";
}
article.tutorial .notice.tip:before {
  content: "Tip";
  top: -5px;
  left: -5px;
}

article.tutorial figure img
{
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
}

article.tutorial figcaption
{
  margin-top: 1em;
  font-style: italic;
}

article.tutorial h4 {
  font-size: 16px;
  font-weight: 300;
  margin: 0 0 .25em;
}
article.tutorial  blockquote.commentary {
  font-style: italic;
  font-size: 14px;
  padding: 20px 10px 20px 40px;
  border-radius: 7px;
  line-height: initial;
  border: 2px dashed #afcea9;
  background: #eaf2e8;
  position: relative;
}

article.tutorial blockquote.commentary code {
  font-style: normal;
}

article.tutorial .talkinghead:before {
  content: '';
  position: absolute;
  left: -20px;
  top: 10px;
  width: 50px;
  height: 50px;
  background-repeat: no-repeat;
  background-position: -10px -10px;
  border-radius: 50%;
}

.tooltip {
  position: relative;
  cursor: pointer;
}
.tooltip .property {
  border-bottom: 1px dotted #fff;
}
.tooltip .property .kwd {
  color: #508B88;
}
.tooltip:hover:after {
  content: attr(data-tooltip);
  position: absolute;
  background: rgba(0, 0, 0, 0.85);
  padding: 5px 9px;
  color: #fff;
  border-radius: 3px;
  left: 0;
  top: 25px;
  width: 390px;
  z-index: 100;
}

.page header .disqus_comments {
  clear: both;
  float: left;
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 1em 0 0;
}

.cc p
{
  font-size: 85%;
  text-align: center;
}

pre.prettyprint {
  margin: 1em auto;
  padding: 1em;
}

pre.prettyprint.small {
  padding: 0.5em;
}

/* Pretty printing styles. Used with prettify.js. */
/* Vim sunburst theme by David Leibovic */

pre .str, code .str { color: #65B042; } /* string  - green */
pre .kwd, code .kwd { color: #E28964; } /* keyword - dark pink */
pre .com, code .com { color: #AEAEAE; font-style: italic; } /* comment - gray */
pre .typ, code .typ { color: #89bdff; } /* type - light blue */
pre .lit, code .lit { color: #3387CC; } /* literal - blue */
pre .pun, code .pun { color: #fff; } /* punctuation - white */
pre .pln, code .pln { color: #fff; } /* plaintext - white */
pre .tag, code .tag { color: #89bdff; } /* html/xml tag    - light blue */
pre .atn, code .atn { color: #bdb76b; } /* html/xml attribute name  - khaki */
pre .atv, code .atv { color: #65B042; } /* html/xml attribute value - green */
pre .dec, code .dec { color: #3387CC; } /* decimal - blue */

pre.prettyprint, code.prettyprint {
  color: white;
  background-color: #444;
  border-radius: 8px;
}

/* DISABLE SELECTION  */

header.main,
#logo,
.watermark,
nav,
.nav,
.share,
.byline img,
#html5badge,
.disqus_comments,
section.disqus
{
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
}


/* HELPERS  */

.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; }
.ir br { display: none; }
.hidden { display: none !important; visibility: hidden; }
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }


/* Google Plus Icon */
#google_plus_page_link {
  float: right;
}

#google_plus_page_link a {
  background: none;
  color: #333;
  cursor: pointer;
  display: inline-block;
  font: 13px/16px arial,sans-serif;
  text-decoration: none;
  padding: 0;
}

#google_plus_page_link a span {
  background: url(https://ssl.gstatic.com/images/icons/gplus-16.png);
  display: inline-block;
  height: 16px;
  overflow: hidden;
  text-indent: 16px;
  width: 16px;
}


#livebanner {
  position: fixed;
  top: -50px;
  right: -95px;
  background: #508B88;
  color: white;
  -webkit-transform: rotateZ(40deg);
  -moz-transform: rotateZ(40deg);
  -ms-transform: rotateZ(40deg);
  -o-transform: rotateZ(40deg);
  transform: rotateZ(40deg);
  font-size: 25px;
  padding: 5px 70px;
  text-transform: uppercase;
  z-index: 1000;
  -webkit-transform-origin: 0 50%;
  -moz-transform-origin: 0 50%;
  -ms-transform-origin: 0 50%;
  -o-transform-origin: 0 50%;
  transform-origin: 0 50%;
  font-weight: 600;
  box-shadow: 0px 0px 10px #222;
  text-shadow: 0px 0px 5px #000;
}

#livebanner .record {
  background-color: red;
  border-radius: 50%;
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-bottom: 2px;
}

kbd, .kbd {
  padding: 0.1em 0.6em;
  border: 1px solid rgb(204, 204, 204);
  font-size: 11px;
  font-family: Arial,Helvetica,sans-serif;
  background-color: rgb(247, 247, 247);
  color: rgb(51, 51, 51);
  box-shadow: 0 1px 0px rgba(0, 0, 0, 0.2),0 0 0 2px rgb(255, 255, 255) inset;
  border-radius: 3px;
  display: inline-block;
  margin: 0 0.1em;
  text-shadow: 0 1px 0 rgb(255, 255, 255);
  line-height: 1.5;
  white-space: nowrap;
}

/* PRINT */

@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; }
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; }
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  .page { max-width: 100% }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }

  pre .str, code .str { color: #060; }
  pre .kwd, code .kwd { color: #006; font-weight: bold; }
  pre .com, code .com { color: #600; font-style: italic; }
  pre .typ, code .typ { color: #404; font-weight: bold; }
  pre .lit, code .lit { color: #044; }
  pre .pun, code .pun { color: #440; }
  pre .pln, code .pln { color: #000; }
  pre .tag, code .tag { color: #006; font-weight: bold; }
  pre .atn, code .atn { color: #404; }
  pre .atv, code .atv { color: #060; }

  .page header .share, nav, header hgroup, a.disqus_comments { display:none !important;}
}


/* RESPONSIVE */

/* Get us promoted to a composited layer for these elements. Leave mobile
   off because it already promotes position:fixed elements. Remove this when
   desktop follows suite. */

@media only all and (max-width: 1024px) and (max-height: 768px)
{
  body[data-href='home'],
  body[data-href='gaming'],
  body[data-href='business']
  {
    -moz-background-size: 1024px 768px;
    background-size: 1024px 768px;
  }
}

@media screen and (min-width: 480px) {
  article.tutorial nav.outline.toc.fixed
  {
    max-height: none;
  }

  .pattern-bg {
    background-color: #eee !important;
  }

  body[data-href="home"] .pattern-bg {
    border-radius: 5px;
  }

  .pattern-bg-lighter,
  article.sectioned > section:not(#classes) {
    background-color: white !important;
    box-shadow: 1px 1px 10px #ccc;
  }

  .page header .share {
    position: static !important;
  }
}

@media screen and (min-width: 768px) {

  .subheader
  {
    background: #65A8A5;
    height: auto;
  }

  .subheader::before
  {
    content: '';
    display: block;
    z-index: -1;
  }

  .subheader::after
  {
    -moz-box-shadow: 0 3px 12px 5px black;
    -webkit-box-shadow: 0 3px 12px 5px black;
    -o-box-shadow: 0 3px 12px 5px black;
    -ms-box-shadow: 0 3px 12px 5px black;
    box-shadow: 0 3px 12px 5px black;
    content: '';
    display: block;
    z-index: -1;
    position: relative;;
    top: -10px;
  }

  .subheader .search
  {
    font-size: 48px;
    padding-top: 10px;
    text-align: center;
  }

  .subheader .search label
  {
    color: #fff;
    padding-left: 5px;
    text-transform: uppercase;
  }

  .subheader .search input
  {
    background: hsla(0, 0%, 99%, 0.2);
    border: 3px solid transparent;
    color: hsl(176, 27%, 13%);
    font-style: italic;
    text-indent: 5px;
    width: 580px;
    outline: 0 !important;
    border-radius: 4px;
    margin-left: 7px;
  }

  .subheader .search input[placeholder]::-webkit-input-placeholder {
    color: hsla(176, 27%, 33%, 0.4);
  }

  .subheader .search input:focus {
    border-color: hsla(176, 27%, 33%, 0.4);
  }

  .subheader .search input::-webkit-input-placeholder
  {
    color: #b0d2d0;
    padding-left: 15px;
  }

  input[type="search"]::-webkit-search-decoration,
  input[type="search"]::-webkit-search-cancel-button,
  input[type="search"]::-webkit-search-results-button,
  input[type="search"]::-webkit-search-results-decoration
  {
    display: none;
  }

  .page header .share {
    position: static !important;
  }
}

@media screen and (min-width: 860px) {
  .page header .share {
    position: absolute !important;
  }
}

@media screen and (min-width: 1000px) {

  header.main,
  .watermark,
  article.tutorial nav.outline.toc.fixed
   {
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
  }

  article.sectioned section.one_half   {
    width: 45%;
    max-height: 350px;
    overflow-y: auto;
  }
  article.sectioned section.one_third  { width: 28%; }
  article.sectioned section.two_thirds { width: 58%; }

  article.sectioned section.one_half,
  article.sectioned section.one_third,
  article.sectioned section.one_quarter,
  article.sectioned section.two_thirds
  {
    float: left;
    margin: 0 0 2% 2%;
  }

  article.sectioned section.one_half + section.one_half + section,
  article.sectioned section.two_thirds + section.one_third + section,
  article.sectioned section.one_third + section.two_thirds + section
  {
    clear: both;
    margin-top: 0;
    margin-left: 0;
  }

  article.sectioned section.one_half + section.one_half + section + section,
  article.sectioned section.two_thirds + section.one_third + section + section,
  article.sectioned section.one_third + section.two_thirds + section + section
  {
    margin-top: 0;
  }

  article.sectioned section.one_half:nth-child(2n + 1),
  .thirds section.one_third:nth-child(3n + 1),
  article.sectioned section.one_third:first-child
  {
    margin-left: 0;
  }

  article.sectioned #support,
  article.sectioned #updates
  {
    float: left;
    width: 45%;
    margin: 0 0 2% 0 !important;
  }

  article.sectioned #updates
  {
    margin: 0 2% 2% 0 !important;
  }

  /* Homepage */

  article.sectioned section.one_third  { width: 32%; }

  nav.outline.toc
  {
    box-shadow: 1px 1px 10px #ccc !important;
  }

  .pattern-bg-lighter,
  article.sectioned > section:not(#classes) {
    border-radius: 5px;
  }

  article.tutorial nav.outline.toc.fixed
  {
    position: fixed;
    top: 50px;
    left: 50%;
    margin-left: -500px;
    max-height: 525px;
  }
}

@media screen and (max-width: 1000px) {
  #home_menu {}
  #tutorials_menu {}
  #updates_menu {}
  #features_show { }
  #slides_menu { }
  #resources_menu {}
  #profiles_menu {  }
  #contrib_menu {  }
  #search_show span { display: none; }

  .page,
  .page header,
  header,
  .subheader div,
  .nav,
  #updates_list
  {
    width: inherit !important;
  }

  .page {
    margin: 0 !important;
    width: 100% !important;
  }

  .page.current
  {
    margin-top: 0em;
  }

  header.main
  {
    padding: 0;
    position: static;
    height: inherit;
    overflow: hidden;
    width: 100%;
  }

  header.main nav
  {
    height: inherit;
    width: 100%;
  }

  header hgroup + section
  {
    float: none;
  }

  article.tutorial,
  section.cc,
  section.disqus
  {
    margin-left: 0;
  }

  nav.outline.toc
  {
    margin-bottom: 2em;
    padding: 0;
    position: static !important;
    max-height: none;
    width: 100%;
    box-shadow: none !important;
  }

  article,
  section,
  article.sectioned section,
  section.link_target,
  .page header
  {
    padding: 1em 1.25em;
  }

  section.one_half,
  section.one_third,
  section.one_quarter,
  section.two_thirds
  {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: inherit !important;
  }

  .page header .share li
  {
    position: static;
  }

  .page header .share ul
  {
    margin-top: 1em;
  }

  .page header .share li
  {
    display: inline;
  }

  /* Homepage */

  body[data-href="home"] header.two_columns
  {
    padding: 2%;
  }

  body[data-href="home"] header.two_columns hgroup,
  body[data-href="home"] header.two_columns p
  {
    float: none;
    width: inherit !important;
  }

  body[data-href="home"] header.two_columns hgroup h1,
  body[data-href="home"] header.two_columns hgroup h2
  {
    font-size: 225%;
  }

  body[data-href="home"] header.two_columns p
  {
    margin: .5em 0 0;
  }

  body[data-href="home"] .one_third
  {
    float: left !important;
    height: inherit;
    margin-left: 2% !important;
    padding: 2%;
    width: 28% !important;
  }

  body[data-href="home"] .one_third:first-child
  {
    margin-left: 0 !important;
  }

  body[data-href="home"] .one_third a
  {
    position: static;
  }

  body[data-href="home"] article.profile
  {
    float: left !important;
    height: inherit;
    margin: 2% 0 0 2% !important;
    width: 32% !important;
    padding: 0;
  }

  body[data-href="home"] article.profile:nth-child(3n + 1)
  {
    margin-left: 0 !important;
  }

  /* Tutorials & Updates */

  .page header section.filter div.tag_filter
  {
    width: 100%;
  }

  .page header section.filter div.tag_filter input
  {
    width: 90%;
    display: block;
    margin: .5em 0;
  }

  /* Profiles */

  body[data-href="profiles"] .profile:first-child,
  body[data-href="profiles"] .profile:nth-child(3n + 1)
  {
    margin-left: 2%;
  }

  body[data-href="profiles"] .profile:first-child,
  body[data-href="profiles"] .profile:nth-child(2n + 1)
  {
    margin-left: 0;
  }

  article.profile
  {
    margin-left: 2%;
    width: 49%;

  }

  article.profile section
  {
    margin: 0 !important;
  }

  .profile .map,
  .profile .list-articles span
  {
    display: none;
  }

  .profile .list-articles
  {
    cursor: default !important;
    color: #666 !important;
  }

  .profile .articles
  {
    margin: 2.75em 0 0 94px;
    position: static;
  }

  .profile .articles
  {
    width: 70%;
  }
}

@media screen and (max-width: 860px) {

  #home_menu {}
  #tutorials_menu {}
  #updates_menu {}
  #features_show { }
  #slides_menu { }
  #resources_menu {}
  #why_menu {}
  #contrib_menu { display: none; }
  #search_show span { display: none; }

  header.main nav ul li a, #home_horns
  header.main nav ul li#features_show,
  header.main h1
  {
  }

  header.main nav ul li#features_show {
  }

  header.main nav ul li#search_show
  {
    float: right;
  }

  header.main .subheader.features
  {
    background: #5fa4a0;
    float: left;
    width: 100%;
  }

  header.main .subheader.features h2
  {
    display: none;
  }

  header.main .subheader #features_hide
  {
    float: left;
    padding: 2px 0 0 10px;
    width: 24px;
    height: 24px;
  }

  header.main .subheader .features ul
  {
    float: left;
    margin: 0;
    padding: 0 0 .5em;
    width: inherit;
  }

  header.main .subheader .features li
  {
    float: left;
  }

  header.main .subheader.search
  {
  background-color: #65a8a5;
  margin: 0 !important;
  padding: 5px;
        font-size: 1.6em;
  clear: both;
  }

  header.main .subheader.search label span,
  header.main .subheader.search img
  {
    display: none;
  }

  header.main .subheader.search input
  {
  width: 100%;
  box-sizing: border-box;
  }

  .page header.two_columns section,
  .page header hgroup,
  .page header section
  {
    float: none;
    width: 100%;
  }

  .page header > hgroup:first-child {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  #home_menu {}
  #tutorials_menu {}
  #updates_menu {}
  #features_show { }
  #slides_menu { }
  #resources_menu {}
  #profiles_menu { display: none; }
  #contrib_menu { display: none; }
  #search_show span { display: none; }


  header.main {
    padding-bottom: 0 !important;
  }

  header.main #home_horns
  {
    display: block !important;
    float: left;
    margin: .1em;
    padding: 0.4em 0.6em;
  }

  header.main #home_horns img {
    width: 12px;
    height: 24px;
  }

  header.main nav li:first-child,
  .nav
  {
    display: none;
  }

  body[data-href="home"] article
  {
    margin: 0;
  }

  body[data-href="home"] header
  {
    margin-bottom: 0;
  }

  body[data-href="home"] #classes
  {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  body[data-href="home"] .one_third,
  body[data-href="home"] .one_third:first-child
  {
    float: none !important;
    margin-left: 0 !important;

    width: inherit !important;
  }

  body[data-href="home"] section.link_target a
  {
    height: inherit !important;
    padding: 0;
  }

  .page
  {
    margin: 0 !important;
  }

  section
  {
    float: none !important;
  }

  article.feature figure,
  section.figures figure,
  ul.figures li
  {
    float: none;
    width: 100%;
  }

  /* Homepage */

  #updates_title,
  #updates_badge
  {
    display: none;
  }

  body[data-href="home"] #start
  {
    height: inherit;
    width: inherit;
    position: static;
  }

  body[data-href="home"] #logo,
  body[data-href="home"] #updates
  {
    position: static;
    height: inherit;
  }

  body[data-href="home"] #updates
  {
    margin: 2.5% 0 !important;
    padding: 2% !important;
    width: 96% !important;
  }
}

@media screen and (max-width: 600px) {

  #home_menu {}
  #tutorials_menu {}
  #updates_menu {}
  #features_show {}
  #slides_menu { display: none; }
  #resources_menu {}
  #profiles_menu { display: none; }
  #contrib_menu { display: none; }
  #search_show span { display: none; }

  ul.definitions
  {
    -moz-column-count: 0;
    -webkit-column-count: 0;
    -ms-column-count: 0;
    -o-column-count: 0;
    column-count: 0;
  }

  /* Profiles */

  article.profile
  {
    margin: 0 !important;
    width: 100%;
  }

  article.profile section
  {
    height: inherit;
    margin: .75em 0 !important;
  }

  article.tutorial .outline_nav_toggle {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100% !important;
    height: 2em;
    padding: 0;
    margin: 0;
    top: auto !important;
    overflow-y: hidden !important;
    padding: 5px;
    background-color: #EC4936;
    -webkit-transition: top 0.2s ease-in-out;
    transition: top 0.2s ease-in-out;
  }

  article.tutorial .outline_nav_toggle h3 {
    margin: 0px !important;
  }

  article.tutorial .outline_nav_toggle ul {
    display: none;
  }

  article.tutorial .outline_nav_toggle.activated {
    top: 0 !important;
    bottom: 0 !important;
    height: 100%;
    width: 100%;
    background-color: #4e4e4e !important;
    border-left: solid 12px #252525;
    -webkit-border-radius: none;
    border-radius: none;
    box-sizing: border-box;
    overflow-y: auto !important;
  }

  article.tutorial .outline_nav_toggle.activated  ul {
    display: block;
  }

  article.tutorial .outline_nav_toggle.activated h3 {
    margin: 1em;
  }

  article.tutorial .outline_nav_toggle.activated ul a {
    color: #ddd;
    margin: 0;
  }

  article.tutorial .outline_nav_toggle.activated ul a:active {
    color: #ddd;
  }

  article.tutorial .outline_nav_toggle.activated ul a:visited {
    color: #ddd;
  }

  article.tutorial .outline_nav_toggle.activated ul ul a {
    color: #bbb;
    color: #bbb !important;
    margin: 0;
  }

  article.tutorial .outline_nav_toggle.activated ul ul  a:active {
    color: #bbb;
    color: #bbb !important;
  }

  article.tutorial .outline_nav_toggle.activated ul ul ul a:visited {
    color: #bbb !important;
  }

  article.tutorial .outline_nav_toggle.activated ul ul ul a {
    color: #999 !important;
    margin: 0;
  }

  article.tutorial .outline_nav_toggle.activated ul ul ul a:active {
    color: #999 !important;
  }

  article.tutorial .outline_nav_toggle.activated ul ul ul a:visited {
    color: #999 !important;
  }

  article.tutorial nav {
    background-color: #EC4936 !important;
    color: white;
    height: 100%;
    width: 100% !important;
    text-align: center;
    margin: 0;
    margin-top: 4px !important;
  }

  article.tutorial .outline_nav_toggle.activated nav {
    background-color: transparent !important;
    color: white;
    text-align: inherit;
  }

  article.tutorial .outline_nav_toggle.activated nav.outline.toc ul {
    margin-left: 1em;
  }

  article.tutorial .outline_nav_toggle.activated h3 {
    font-size: 18px;
    font-weight: 400;
  }

  article.tutorial .outline_nav_toggle.activated nav li {
    margin-bottom: 1em;
    font-size:16px;
    font-weight: 300;
  }

  .profile .articles
  {
    height: inherit;
    overflow: visible;
  }

  .profile .articles li
  {
    list-style: none !important;
    white-space: normal;
    margin-left: 1em;
    text-indent: -1.5em;
  }

  .profile .articles a
  {
    list-style: none !important;
    overflow: visible;
  }


  .two_columns
  {
    -moz-column-count: 1;
    -o-column-count: 1;
    -ms-column-count: 1;
    -webkit-column-count: 1;
    column-count: 1;
  }

  div.one_quarter,
  div.one_half    { float: left; }
  div.one_quarter {
    width: 50%;
    padding-bottom: .75em;
  }
  div.one_half    { width: 100%; }

  /* Homepage */

  body[data-href="home"] #updates.feed li
  {
    border-top: 1px solid #bbb;
    padding: .25em 0;
    overflow: hidden;
  }

  body[data-href="home"] #updates.feed li:first-child
  {
    border-top: 0;
  }

  body[data-href="home"] #updates.feed li span.byline,
  body[data-href="home"] #updates.feed li span.details
  {
    display: inline;
  }

  body[data-href="home"] #updates.feed li span.classes,
  body[data-href="home"] #updates.feed li span.type
  {
    display: none;
  }

  body[data-href="home"] article.profile { width: 49% !important; }
  body[data-href="home"] article.profile section { padding: 0 4% !important; }
  body[data-href="home"] article.profile:nth-child(3n + 1) { margin-left: 2% !important; }
  body[data-href="home"] article.profile:nth-child(2n + 1) { margin-left: 0 !important; }

  nav.toc {
    position: fixed !important;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background-color: #ed4732;
  }

  .page header .share {
    position: static !important;
  }
}

@media screen and (max-width: 480px) {
  #home_menu {}
  #tutorials_menu {}
  #updates_menu {}
  #features_show { display: none; }
  #slides_menu { display: none; }
  #resources_menu {}
  #profiles_menu { display: none; }
  #contrib_menu { display: none; }
  #search_show span { display: none; }

  nav.outline {
    max-height: none !important;
  }

  .page,
  .page.current,
  .page header
  {
    margin-top: 0 !important;
  }

  .page header.tutorial h1 {
     font-size: 25px !important;
  }

  header.main h1
  {
    display: none;
    float: left;
  }


  header.main h1
  {
    margin: .1em;
    padding: 0.4em 0.6em;
  }

  header.tutorial .browser_support {
    margin: none !important;
    padding: none !important;
  }

  header.main nav ul li#features_show {
    margin: 0;
    padding: 0;
  }

  header.main .subheader.search
  {
    margin: .15em 0 0 .5em;
  }

  header.main .subheader .features ul
  {
    margin-left: 12px;
    width: 360px;
  }

  header.main .subheader .features ul li
  {
    width: 160px;
  }

  /* Homepage */

  body[data-href="home"] article.profile
  {
    margin: 2% 0 0 0 !important;
    width: 100% !important;
  }

  body[data-href="home"] article.profile section
  {
    padding: 0 2% !important;
  }
  body[data-href="home"] article.profile:nth-child(3n + 1) { margin-left: 0 !important; }
  body[data-href="home"] article.profile:nth-child(2n + 1) { margin-left: 0 !important; }

  #authors {
    display: none;
  }
}
.main .subheader .features ul li
  {
    width: 160px;
  }

  /* Homepage */

  body[data-href="home"] article.profile
  {
    margin: 2% 0 0 0 !important;
    width: 100% !important;
  }

  body[data-href="home"] article.profile section
  {
    padding: 0 2% !important;
  }
  body[data-href="home"] article.profile:nth-child(3n + 1) { margin-left: 0 !important; }
  body[data-href="home"] article.profile:nth-child(2n + 1) { margin-left: 0 !important; }

  #authors {
    display: none;
  }
}
